package CyX;

public class ArrayTraversal {

	public static void main(String[] args) {

		ArrayTraversal(null);
		System.out.println("]");

	}
	public static int[] ArrayTraversal(int[]a) {
		System.out.print("[");
		int[] a1 = { 11, 22, 33, 44, 55 };
		for (int i = 0; i < a1.length; i++) {
			if(i == a1.length-1) {
				System.out.print(a1[i]);
			}else {
				System.out.print(a1[i]+",");
			}
			
			}
			
		return a1;
	}

}
